package com.project.dao;

import com.project.entity.Image;

import java.util.List;

/**
 * @Author: TateBrown
 * @date: 2018/5/26 12:46
 * @param:
 * @return:
 */
public interface ImageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Image record);

    int insertSelective(Image record);

    Image selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Image record);

    int updateByPrimaryKey(Image record);

    //通过url查找 By:WheelChen
    Image selectByUrl(String url);

    //查找所有 By:WheelChen
    List<Image> selectAll();
}
